package ModelLayer;
public class Cash extends Payment
{
    public Cash(int sID, double amount)
    {
        super(sID,amount);
    }
    
    public double getChange(double totalPrice)
    {
        return (amount-totalPrice);
    }
}
